package com.jic.member.mapper;

import com.jic.member.entity.SmsLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.lang.Long;
import java.util.List;


/**
 * 短信验证码记录表
 * @author : 
 * @email : 
 * @since : 2020-03-02 11:28:15
 * @version : v1.0.0
 */
@Mapper
public interface  SmsLogMapper {

    long insert(SmsLog smsLog);

    long delete(Long id);

    long update(SmsLog smsLog);

    SmsLog queryByPrimaryKey(Long id);

    List<SmsLog> query(SmsLog smsLog);

    List<SmsLog> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("smsLog") SmsLog smsLog);

    long queryPageCount( @Param("smsLog") SmsLog smsLog);
}